package com.bw.liveplay.common.mvvm.mondel

import com.bw.liveplay.common.entity.BaseEntity
import io.reactivex.Observable
import okhttp3.RequestBody

/**
 * @author KK
 * @description:
 * @date :2021/11/9 17:56
 *
 */
abstract interface IModel {

    //创建Okhttp请求体
    fun createBody(map : HashMap<String,Any>) :RequestBody

    //Rxjava 转换
    fun changeFun(observable: Observable<*>) : Observable<BaseEntity>
}